package com.gomyb.job.constant;

import lombok.Getter;

/**
 * @author <a href="mailto:hellohesir@gmail.com">Mr_He</a>
 * 2019/6/19 15:47
 */
public class Constant {

    public static final String JOB_KEY = "JOB_KEY";

    @Getter
    public enum ScheduleStatus {
        NORMAL(1, "正常"),
        PAUSE(0, "暂停");;

        ScheduleStatus(Integer value, String remark) {
            this.value = value;
            this.remark = remark;
        }

        private Integer value;

        private String remark;

    }

}
